From 683e213cd69c24a60963b414ca343e8c3d05c50d Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 6 Jun 2011 23:24:43 +0000 Subject: [PATCH] Add placer to navicache. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4067 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/navicache.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gpsbabel/navicache.c b/gpsbabel/navicache.c index 5e416e798..3c4ea7ce1 100644 --- a/gpsbabel/navicache.c +++ b/gpsbabel/navicache.c @@ -127,6 +127,9 @@ nav_start(void *data, const XML_Char *xml_el, const XML_Char **xml_attr) if (0 == strcmp(ap[0], "name")) { wpt_tmp->description = xstrdup(ap[1]); } else + if (0 == strcmp(ap[0], "user_name")) { + gc_data->placer = xstrdup(ap[1]); + } else if (0 == strcmp(ap[0], "latitude")) { sscanf(ap[1], "%lf", &wpt_tmp->latitude); -- 2.30.2